#pragma once

#include <imglib/avi.h>
#include "irender/writer.h"
#include "irender/types.h"

namespace irender {

class avi_writer : public writer
{
public:
	avi_writer(img::avi::coder & c, const string & filename, const img::avi::format & f);
	virtual ~avi_writer() {}
	virtual avi_writer & add(byte_image const & img);
private:
	img::avi::writer avi_;
};

} // namespace irender
